import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false
import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts

import axios from 'axios'
axios.defaults.baseURL = 'http://localhost:3000'
Vue.prototype.$http = axios

import '../node_modules/echarts/theme/roma.js'
import '../node_modules/echarts/theme/dark.js'
Vue.prototype.$store = store

new Vue({
  router,
  store,
  render: function (h) { return h(App) }
}).$mount('#app')
